package com.eposi.eposigameinterface.fragment;

import com.eposi.eposigameinterface.R;
import com.eposi.eposigameinterface.adapter.FriendOnlineAdapter;
import com.eposi.eposigameinterface.adapter.UserOnlineAdapter;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class ListFriendOnlineFragment extends Fragment {
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.tab_user_online,container,false);
		ListView listUser = (ListView) view.findViewById(R.id.tab_user_online_list_view);
		FriendOnlineAdapter adapter = new FriendOnlineAdapter(getActivity());
		listUser.setAdapter(adapter);
		listUser.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
		return view;
	}
	
}
